<template>
  <div>
    <h1>App style v-bind</h1>

    <p class="box">看我的颜色</p>

    <button @click="color = 'green'">修改 color 数据</button>
  </div>
</template>

<script setup>
import { ref } from 'vue'
const color = ref('red')
</script>

<style>
.box {
  color: v-bind('color');
}
</style>
